<style>
	.column { width: 33%; float: left; padding-bottom: 100px; }
	.portlet { margin: 0 1em 1em 0; }
	.portlet-header { cursor:move; margin: 0.3em; padding-bottom: 4px; padding-left: 0.2em; }
	.portlet-header .ui-icon { float: right; }
	.portlet-content { padding: 0.4em; }
	.ui-sortable-placeholder { border: 1px dotted black; visibility: visible !important; height: 50px !important; }
	.ui-sortable-placeholder * { visibility: hidden; }
	.ui-datepicker {
		display:none;
		padding:0.2em 0.2em 0;
		width: 97%;
	}
</style>
<script>
	$(function() {
		$( "#datepicker" ).datepicker();
	});
	</script>

<div class="home index">
	<h2><?php __('Dashboard');?></h2>
	<div class="column">
	
		<div class="portlet">
			<div class="portlet-header"><?php __('Devolutions');?></div>
			<div class="portlet-content">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</div>
		</div>
		
		<div class="portlet">
			<div class="portlet-header"><?php __('Reserves');?></div>
			<div class="portlet-content">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</div>
		</div>
	
	</div>
	
	<div class="column">
	
		<div class="portlet">
			<div class="portlet-header"><?php __('Search');?></div>
			<div class="portlet-content">
				<?php echo $this->Form->create('Search');?>
				<?php echo $this->Form->input('title', array('label' => '')); ?>
				<?php echo $this->Form->end();?>
			</div>
		</div>
	
	</div>
	
	<div class="column">
	
		<div class="portlet">
			<div class="portlet-header"><?php __('Calendar');?></div>
			<div class="portlet-content">
				<div id="datepicker"></div>
			</div>
		</div>
		
		<div class="portlet">
			<div class="portlet-header">Images</div>
			<div class="portlet-content">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</div>
		</div>
	
	</div>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('List People', true), array('controller' => 'people', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('List Publications', true), array('controller' => 'publications', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('List Loans', true), array('controller' => 'loans', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('List Devolutions', true), array('controller' => 'loans', 'action' => 'devolution')); ?> </li>
		<li><?php echo $this->Html->link(__('List Reports', true), array('action' => 'reports')); ?> </li>
		<li><?php echo $this->Html->link(__('List Tables', true), array('action' => 'tables')); ?> </li>
		<li><?php echo $this->Html->link(__('List Queries', true), array('action' => 'queries')); ?> </li>
		<li><?php echo $this->Html->link(__('List Inventory', true), array('controller' => 'publications', 'action' => 'inventory')); ?> </li>
	</ul>
</div>